<%@ page contentType="text/html;charset=utf-8"%>
<jsp:useBean id="stu" class="com.bean.Student" scope="session"/>
<html><body>
id：<jsp:getProperty name="stu" property="id"/><br>
cno：<jsp:getProperty name="stu" property="cno"/><br>
name：<jsp:getProperty name="stu" property="phone"/><br>
sex：<jsp:getProperty name="stu" property="sex"/><br>
age：<jsp:getProperty name="stu" property="age"/><br>
phone：<jsp:getProperty name="stu" property="name"/><br>
</body></html>
